widgetEntry
abstract fun widgetEntry(choicePredicate: ChoiceValidator<T> = ChoiceValidator.any()): ClickableWidget
Builds a new ClickableWidget for use in a config GUI. If the widget is presenting options that could be filtered by the optional ChoiceValidator, those possible selections should be filtered in some way by the validator before presenting to the user.
Return
ClickableWidget instance; should be a new instance on every call.
Author
fzzyhmstrs
Since
0.2.0
Parameters
choicePredicate
ChoiceValidator, optional. Default allows any option.